#include "ui_main.h"
#include "ui_select_kit.h"



void UIMain::Update()
{
	size_t index = _panelMenu->GetClickIndex();
	if (index == 0)
	{
		g_scene->Del("main");
		g_scene->Add("select_kit", new UISelectKit);
	}
	else if (index == 1)
	{

	}
	else if (index == 2)
	{
		g_system->Exit();
	}
}
